package cn.csust.net2.manager.shared.po;

import java.io.Serializable;

import cn.csust.net2.manager.shared.vo.UserProperty;
import cn.csust.net2.manager.shared.xml.XmlInfo;
import cn.csust.net2.manager.shared.xml.XmlResources;

import com.extjs.gxt.ui.client.data.BeanModelTag;

public class PoorInfo extends PO implements Serializable,BeanModelTag, UserProperty {

	/**
	 * 
	 */
	private static final long serialVersionUID = 3110784920914775316L;
	
	private Integer poorInfoID;
	private String schoolYear;
	private String semester;
	private String level;
	private String details;
	private String remark;
	
	private User user;
	
	public PoorInfo() {
		
	}
	
	public Integer getPoorInfoID() {
		return poorInfoID;
	}

	public void setPoorInfoID(Integer poorInfoID) {
		this.poorInfoID = poorInfoID;
	}

	public String getSchoolYear() {
		return schoolYear;
	}

	public void setSchoolYear(String schoolYear) {
		this.schoolYear = schoolYear;
	}

	public String getSemester() {
		return semester;
	}

	public void setSemester(String semester) {
		this.semester = semester;
	}

	public String getLevel() {
		return level;
	}

	public void setLevel(String level) {
		this.level = level;
	}

	public String getDetails() {
		return details;
	}

	public void setDetails(String details) {
		this.details = details;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	@Override
	public String getDisplayName() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	protected XmlInfo getXmlInfo(XmlResources instance) {
		// TODO Auto-generated method stub
		XmlInfo xmlInfo = new XmlInfo();
		xmlInfo.setTextResource(instance.poorInfo());
		return xmlInfo;
	}

}
